package com.kws.merchant.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kws.merchant.domain.FeedbackMessageEntity;
import com.kws.merchant.domain.po.FeedbackMessagePo;
import com.kws.merchant.domain.po.UserMessagePo;
import com.kws.merchant.domain.vo.LogisticsVo;
import com.kws.merchant.domain.vo.MessageCountVo;
import com.kws.merchant.domain.vo.NoticeVo;
import com.kws.merchant.domain.vo.ServeMessageVo;

import java.util.List;

/**
 * @author : zhangbenting
 * @date : 2024/11/19 9:31
 * @Version: 1.0
 */
public interface FeedbackMessageService extends IService<FeedbackMessageEntity> {

    boolean addFeedbackMessage(FeedbackMessagePo feedbackMessagePo);

    List<ServeMessageVo> getUserServeMessage();

    Page<LogisticsVo> getLogisticsMessage(UserMessagePo userMessagePo);

    Page<NoticeVo> getNoticeMessage(UserMessagePo userMessagePo);

    MessageCountVo getUserMessageCount();

    boolean readMessage(Long sendUser);
}
